<?php 
	$arrParam = $this->arrParam;
	$arrMenu = array();
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'index'
									));
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'index')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">PRODUCT</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'news'
									));
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'news')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">News</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'news'
									));
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'news')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">About us</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'news'
									));
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'news')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">Product care</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'news'
									));
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'news')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">Contact us</a></li>';
	
	$arrMenu[] = '<li class="separator"></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'news'
									));
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'news')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">Customer Login</a></li>';
	
	$link = $this->cmsUrl(array(
									'module' => 'default',
									'controller' => 'index',
									'action' => 'news'
									));
	$active = ($arrParam['module'] == 'default' && $arrParam['action'] == 'news')?' class="active"':'';
	$arrMenu[] = '<li' . $active . '><a href="' . $link . '">Wholesaler Login</a></li>';
?>
<div class="menu">
	<ul>
		<?php 
		if(!empty($arrMenu)){
			foreach ($arrMenu as $k => $v){
				echo $v;
			}
		}
		?>
	</ul>
</div>